

import pandas as pd

from sqlalchemy import create_engine

def model(dbt, session):

    # my_sql_model_df = dbt.ref("my_first_dbt_model") # 可以从model中提取数据
    # final_df =  my_sql_model_df # stuff you can't write in SQL!

    final_df = pd.read_excel(r"C:\Users\Administrator\Desktop\AI文案标题重复是与否--评测.xlsx")

    print(f"我是:{dbt.config.get('materialized')}")
    print(f"我是:{dbt.config.get('tags')}")
    print(f"我是:{dbt.config.get('remote_warehouse')}")

    

    # 筛选出30天内的数据
    return final_df



